{extend name="iframe" /}

{block name="body"}
<div class="layui-fluid">
	<div class="layui-row layui-col-space15">
		<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list">
			<form action="{:request()->url()}" method="post" class="xn_ajax" data-type="open">
				<div class="layui-form-item">
					<label class="layui-form-label">订单号</label>
					<div class="layui-input-block">
						<input type="text" name="ordernum" lay-verify="required" placeholder="请输入订单号" autocomplete="off"
							class="layui-input" value="{$data.ordernum}" disabled>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">快递单</label>
					<div class="layui-input-block">
						<input type="text" name="deliverorder" lay-verify="" placeholder="请输入快递单" autocomplete="off"
							class="layui-input" value="{$data.deliverorder}">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">产品</label>
					<div class="layui-input-block">
						<input type="text" name="" lay-verify="" placeholder="产品" autocomplete="off"
							class="layui-input" value="{$data.proname}" disabled>
						<!-- <select name="product_id" lay-verify="required" lay-filter="product_id" disabled>
							<option value="0">请选择</option>
							{foreach name="info" item="vo" key="k"}
							<option value="{$vo.id}" {if condition="$vo['id'] eq $data['product_id']" }selected{/if}>{$vo.title|raw}
							</option>
							{/foreach}
						</select> -->
					</div>
				</div>
				{if $data.form_id neq 0}
				<div class="layui-form-item">
					<label class="layui-form-label">来源用户</label>
					<div class="layui-input-block">
						<input type="text" name="form_id" lay-verify="" disabled placeholder="请输入来源用户" autocomplete="off"
							class="layui-input" value="{$data.form_id}">
					</div>
				</div>
				{/if}
				<div class="layui-form-item">
					<label class="layui-form-label">租期</label>
					<div class="layui-input-block">
						<input type="text" name="lease" lay-verify="required" disabled placeholder="请输入租期" autocomplete="off"
							class="layui-input" value="{$data.lease}">
					</div>
				</div>
	            
				<div class="layui-form-item">
					<label class="layui-form-label">提货地址</label>
					<div class="layui-input-block">
						<input type="text" name="" lay-verify="required" disabled placeholder="请输入提货地址"
							autocomplete="off" class="layui-input" value="{$data.address}">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">租金</label>
					<div class="layui-input-block">
						<input type="text" name="rent" disabled lay-verify="required" placeholder="请输入租金" autocomplete="off"
							class="layui-input" value="{$data.rent}">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">价格</label>
					<div class="layui-input-block">
						<input type="text" name="price" disabled lay-verify="required" placeholder="请输入价格" autocomplete="off"
							class="layui-input" value="{$data.price}">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">备注</label>
					<div class="layui-input-block">
						<textarea name="remark" lay-verify="" disabled placeholder="请输入备注"
							class="layui-textarea">{$data.remark}</textarea>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">配送方式</label>
					<div class="layui-input-block">
						<input type="radio" name="delivery_type" value="0" title="自提" {if
							condition="$data['delivery_type'] eq '0'" }checked{/if} >
						<input type="radio" name="delivery_type" value="1" title="快递" {if
							condition="$data['delivery_type'] eq '1'" }checked{/if} >
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">支付状态</label>
					<div class="layui-input-block">
						<input type="radio" name="paystatus" value="0" title="未支付" {if
							condition="$data['paystatus'] eq '0'" }checked{/if} >
						<input type="radio" name="paystatus" value="1" title="已支付" {if
							condition="$data['paystatus'] eq '1'" }checked{/if} >
						<input type="radio" name="paystatus" value="2" title="支付失败" {if
							condition="$data['paystatus'] eq '2'" }checked{/if} >
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">发货状态</label>
					<div class="layui-input-block">
						<input type="radio" name="deliver_status" value="0" title="待发货" {if
							condition="$data['deliver_status'] eq '0'" }checked{/if} >
						<input type="radio" name="deliver_status" value="1" title="已发货" {if
							condition="$data['deliver_status'] eq '1'" }checked{/if} >
						<input type="radio" name="deliver_status" value="2" title="已签收" {if
							condition="$data['deliver_status'] eq '2'" }checked{/if} >
					</div>
				</div>
			

				<div class="layui-form-item">
					<div class="layui-input-block">
						<button type="submit" lay-submit class="layui-btn">保存</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
{/block}

{block name="js"}
<!--编辑器-->
<script src="/static/admin/ueditor/ueditor.config.js"></script>
<script src="/static/admin/ueditor/ueditor.all.min.js"></script>
<script src="/static/admin/ueditor/lang/zh-cn/zh-cn.js"></script>
<script>

</script>
{/block}